/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package entities;

import java.io.Serializable;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;
import javax.persistence.Table;
import javax.validation.constraints.Size;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/**
 *
 * @author The Lunatics
 */
@Entity
@Table(name = "nflplayergame")
@XmlRootElement
@NamedQueries({
    @NamedQuery(name = "Nflplayergame.findAll", query = "SELECT n FROM Nflplayergame n"),
    @NamedQuery(name = "Nflplayergame.findById", query = "SELECT n FROM Nflplayergame n WHERE n.id = :id"),
    @NamedQuery(name = "Nflplayergame.findByOpponent", query = "SELECT n FROM Nflplayergame n WHERE n.opponent = :opponent"),
    @NamedQuery(name = "Nflplayergame.findByHomeOrAway", query = "SELECT n FROM Nflplayergame n WHERE n.homeOrAway = :homeOrAway"),
    @NamedQuery(name = "Nflplayergame.findByActivated", query = "SELECT n FROM Nflplayergame n WHERE n.activated = :activated"),
    @NamedQuery(name = "Nflplayergame.findByPlayed", query = "SELECT n FROM Nflplayergame n WHERE n.played = :played"),
    @NamedQuery(name = "Nflplayergame.findByStarted", query = "SELECT n FROM Nflplayergame n WHERE n.started = :started"),
    @NamedQuery(name = "Nflplayergame.findByPassingAttempts", query = "SELECT n FROM Nflplayergame n WHERE n.passingAttempts = :passingAttempts"),
    @NamedQuery(name = "Nflplayergame.findByPassingCompletions", query = "SELECT n FROM Nflplayergame n WHERE n.passingCompletions = :passingCompletions"),
    @NamedQuery(name = "Nflplayergame.findByPassingYards", query = "SELECT n FROM Nflplayergame n WHERE n.passingYards = :passingYards"),
    @NamedQuery(name = "Nflplayergame.findByPassingCompletionPercentage", query = "SELECT n FROM Nflplayergame n WHERE n.passingCompletionPercentage = :passingCompletionPercentage"),
    @NamedQuery(name = "Nflplayergame.findByPassingYardsPerAttempt", query = "SELECT n FROM Nflplayergame n WHERE n.passingYardsPerAttempt = :passingYardsPerAttempt"),
    @NamedQuery(name = "Nflplayergame.findByPassingYardsPerCompletion", query = "SELECT n FROM Nflplayergame n WHERE n.passingYardsPerCompletion = :passingYardsPerCompletion"),
    @NamedQuery(name = "Nflplayergame.findByPassingTouchdowns", query = "SELECT n FROM Nflplayergame n WHERE n.passingTouchdowns = :passingTouchdowns"),
    @NamedQuery(name = "Nflplayergame.findByPassingInterceptions", query = "SELECT n FROM Nflplayergame n WHERE n.passingInterceptions = :passingInterceptions"),
    @NamedQuery(name = "Nflplayergame.findByPassingRating", query = "SELECT n FROM Nflplayergame n WHERE n.passingRating = :passingRating"),
    @NamedQuery(name = "Nflplayergame.findByPassingLong", query = "SELECT n FROM Nflplayergame n WHERE n.passingLong = :passingLong"),
    @NamedQuery(name = "Nflplayergame.findByPassingSacks", query = "SELECT n FROM Nflplayergame n WHERE n.passingSacks = :passingSacks"),
    @NamedQuery(name = "Nflplayergame.findByPassingSackYards", query = "SELECT n FROM Nflplayergame n WHERE n.passingSackYards = :passingSackYards"),
    @NamedQuery(name = "Nflplayergame.findByRushingAttempts", query = "SELECT n FROM Nflplayergame n WHERE n.rushingAttempts = :rushingAttempts"),
    @NamedQuery(name = "Nflplayergame.findByRushingYards", query = "SELECT n FROM Nflplayergame n WHERE n.rushingYards = :rushingYards"),
    @NamedQuery(name = "Nflplayergame.findByRushingYardsPerAttempt", query = "SELECT n FROM Nflplayergame n WHERE n.rushingYardsPerAttempt = :rushingYardsPerAttempt"),
    @NamedQuery(name = "Nflplayergame.findByRushingTouchdowns", query = "SELECT n FROM Nflplayergame n WHERE n.rushingTouchdowns = :rushingTouchdowns"),
    @NamedQuery(name = "Nflplayergame.findByRushingLong", query = "SELECT n FROM Nflplayergame n WHERE n.rushingLong = :rushingLong"),
    @NamedQuery(name = "Nflplayergame.findByReceivingTargets", query = "SELECT n FROM Nflplayergame n WHERE n.receivingTargets = :receivingTargets"),
    @NamedQuery(name = "Nflplayergame.findByReceptions", query = "SELECT n FROM Nflplayergame n WHERE n.receptions = :receptions"),
    @NamedQuery(name = "Nflplayergame.findByReceivingYards", query = "SELECT n FROM Nflplayergame n WHERE n.receivingYards = :receivingYards"),
    @NamedQuery(name = "Nflplayergame.findByReceivingYardsPerReception", query = "SELECT n FROM Nflplayergame n WHERE n.receivingYardsPerReception = :receivingYardsPerReception"),
    @NamedQuery(name = "Nflplayergame.findByReceivingTouchdowns", query = "SELECT n FROM Nflplayergame n WHERE n.receivingTouchdowns = :receivingTouchdowns"),
    @NamedQuery(name = "Nflplayergame.findByReceivingLong", query = "SELECT n FROM Nflplayergame n WHERE n.receivingLong = :receivingLong"),
    @NamedQuery(name = "Nflplayergame.findByFumbles", query = "SELECT n FROM Nflplayergame n WHERE n.fumbles = :fumbles"),
    @NamedQuery(name = "Nflplayergame.findByFumblesLost", query = "SELECT n FROM Nflplayergame n WHERE n.fumblesLost = :fumblesLost"),
    @NamedQuery(name = "Nflplayergame.findByPuntReturns", query = "SELECT n FROM Nflplayergame n WHERE n.puntReturns = :puntReturns"),
    @NamedQuery(name = "Nflplayergame.findByPuntReturnYards", query = "SELECT n FROM Nflplayergame n WHERE n.puntReturnYards = :puntReturnYards"),
    @NamedQuery(name = "Nflplayergame.findByPuntReturnYardsPerAttempt", query = "SELECT n FROM Nflplayergame n WHERE n.puntReturnYardsPerAttempt = :puntReturnYardsPerAttempt"),
    @NamedQuery(name = "Nflplayergame.findByPuntReturnTouchdowns", query = "SELECT n FROM Nflplayergame n WHERE n.puntReturnTouchdowns = :puntReturnTouchdowns"),
    @NamedQuery(name = "Nflplayergame.findByPuntReturnLong", query = "SELECT n FROM Nflplayergame n WHERE n.puntReturnLong = :puntReturnLong"),
    @NamedQuery(name = "Nflplayergame.findByKickReturns", query = "SELECT n FROM Nflplayergame n WHERE n.kickReturns = :kickReturns"),
    @NamedQuery(name = "Nflplayergame.findByKickReturnYards", query = "SELECT n FROM Nflplayergame n WHERE n.kickReturnYards = :kickReturnYards"),
    @NamedQuery(name = "Nflplayergame.findByKickReturnYardsPerAttempt", query = "SELECT n FROM Nflplayergame n WHERE n.kickReturnYardsPerAttempt = :kickReturnYardsPerAttempt"),
    @NamedQuery(name = "Nflplayergame.findByKickReturnTouchdowns", query = "SELECT n FROM Nflplayergame n WHERE n.kickReturnTouchdowns = :kickReturnTouchdowns"),
    @NamedQuery(name = "Nflplayergame.findByKickReturnLong", query = "SELECT n FROM Nflplayergame n WHERE n.kickReturnLong = :kickReturnLong"),
    @NamedQuery(name = "Nflplayergame.findBySoloTackles", query = "SELECT n FROM Nflplayergame n WHERE n.soloTackles = :soloTackles"),
    @NamedQuery(name = "Nflplayergame.findByAssistedTackles", query = "SELECT n FROM Nflplayergame n WHERE n.assistedTackles = :assistedTackles"),
    @NamedQuery(name = "Nflplayergame.findByTacklesForLoss", query = "SELECT n FROM Nflplayergame n WHERE n.tacklesForLoss = :tacklesForLoss"),
    @NamedQuery(name = "Nflplayergame.findBySacks", query = "SELECT n FROM Nflplayergame n WHERE n.sacks = :sacks"),
    @NamedQuery(name = "Nflplayergame.findBySackYards", query = "SELECT n FROM Nflplayergame n WHERE n.sackYards = :sackYards"),
    @NamedQuery(name = "Nflplayergame.findByQuaterbackHits", query = "SELECT n FROM Nflplayergame n WHERE n.quaterbackHits = :quaterbackHits"),
    @NamedQuery(name = "Nflplayergame.findByPassesDefended", query = "SELECT n FROM Nflplayergame n WHERE n.passesDefended = :passesDefended"),
    @NamedQuery(name = "Nflplayergame.findByFumblesForced", query = "SELECT n FROM Nflplayergame n WHERE n.fumblesForced = :fumblesForced"),
    @NamedQuery(name = "Nflplayergame.findByFumblesRecovered", query = "SELECT n FROM Nflplayergame n WHERE n.fumblesRecovered = :fumblesRecovered"),
    @NamedQuery(name = "Nflplayergame.findByFumbleReturnYards", query = "SELECT n FROM Nflplayergame n WHERE n.fumbleReturnYards = :fumbleReturnYards"),
    @NamedQuery(name = "Nflplayergame.findByFumbleReturnTouchdowns", query = "SELECT n FROM Nflplayergame n WHERE n.fumbleReturnTouchdowns = :fumbleReturnTouchdowns"),
    @NamedQuery(name = "Nflplayergame.findByInterceptions", query = "SELECT n FROM Nflplayergame n WHERE n.interceptions = :interceptions"),
    @NamedQuery(name = "Nflplayergame.findByInterceptionReturnYards", query = "SELECT n FROM Nflplayergame n WHERE n.interceptionReturnYards = :interceptionReturnYards"),
    @NamedQuery(name = "Nflplayergame.findByInterceptionReturnTouchdowns", query = "SELECT n FROM Nflplayergame n WHERE n.interceptionReturnTouchdowns = :interceptionReturnTouchdowns"),
    @NamedQuery(name = "Nflplayergame.findByBlockedKicks", query = "SELECT n FROM Nflplayergame n WHERE n.blockedKicks = :blockedKicks"),
    @NamedQuery(name = "Nflplayergame.findBySpecialTeamSoloTackles", query = "SELECT n FROM Nflplayergame n WHERE n.specialTeamSoloTackles = :specialTeamSoloTackles"),
    @NamedQuery(name = "Nflplayergame.findBySpecialTeamsAssistedTackles", query = "SELECT n FROM Nflplayergame n WHERE n.specialTeamsAssistedTackles = :specialTeamsAssistedTackles"),
    @NamedQuery(name = "Nflplayergame.findByMiscSoloTackles", query = "SELECT n FROM Nflplayergame n WHERE n.miscSoloTackles = :miscSoloTackles"),
    @NamedQuery(name = "Nflplayergame.findByMiscAssistedTackles", query = "SELECT n FROM Nflplayergame n WHERE n.miscAssistedTackles = :miscAssistedTackles"),
    @NamedQuery(name = "Nflplayergame.findByPunts", query = "SELECT n FROM Nflplayergame n WHERE n.punts = :punts"),
    @NamedQuery(name = "Nflplayergame.findByPuntYards", query = "SELECT n FROM Nflplayergame n WHERE n.puntYards = :puntYards"),
    @NamedQuery(name = "Nflplayergame.findByPuntAverage", query = "SELECT n FROM Nflplayergame n WHERE n.puntAverage = :puntAverage"),
    @NamedQuery(name = "Nflplayergame.findByFieldGoalsAttempted", query = "SELECT n FROM Nflplayergame n WHERE n.fieldGoalsAttempted = :fieldGoalsAttempted"),
    @NamedQuery(name = "Nflplayergame.findByFieldGoalsMade", query = "SELECT n FROM Nflplayergame n WHERE n.fieldGoalsMade = :fieldGoalsMade"),
    @NamedQuery(name = "Nflplayergame.findByFieldGoalsLongestMade", query = "SELECT n FROM Nflplayergame n WHERE n.fieldGoalsLongestMade = :fieldGoalsLongestMade"),
    @NamedQuery(name = "Nflplayergame.findByExtraPointsMade", query = "SELECT n FROM Nflplayergame n WHERE n.extraPointsMade = :extraPointsMade"),
    @NamedQuery(name = "Nflplayergame.findByTwoPointConversionPasses", query = "SELECT n FROM Nflplayergame n WHERE n.twoPointConversionPasses = :twoPointConversionPasses"),
    @NamedQuery(name = "Nflplayergame.findByTwoPointConversionRuns", query = "SELECT n FROM Nflplayergame n WHERE n.twoPointConversionRuns = :twoPointConversionRuns"),
    @NamedQuery(name = "Nflplayergame.findByTwoPointConversionReceptions", query = "SELECT n FROM Nflplayergame n WHERE n.twoPointConversionReceptions = :twoPointConversionReceptions"),
    @NamedQuery(name = "Nflplayergame.findByFantasyPoints", query = "SELECT n FROM Nflplayergame n WHERE n.fantasyPoints = :fantasyPoints"),
    @NamedQuery(name = "Nflplayergame.findByReceptionPercentage", query = "SELECT n FROM Nflplayergame n WHERE n.receptionPercentage = :receptionPercentage"),
    @NamedQuery(name = "Nflplayergame.findByReceivingYardsPerTarget", query = "SELECT n FROM Nflplayergame n WHERE n.receivingYardsPerTarget = :receivingYardsPerTarget"),
    @NamedQuery(name = "Nflplayergame.findByTackles", query = "SELECT n FROM Nflplayergame n WHERE n.tackles = :tackles"),
    @NamedQuery(name = "Nflplayergame.findByOffensiveTouchdowns", query = "SELECT n FROM Nflplayergame n WHERE n.offensiveTouchdowns = :offensiveTouchdowns"),
    @NamedQuery(name = "Nflplayergame.findByDefensiveTouchdowns", query = "SELECT n FROM Nflplayergame n WHERE n.defensiveTouchdowns = :defensiveTouchdowns"),
    @NamedQuery(name = "Nflplayergame.findBySpecialTeamsTouchdowns", query = "SELECT n FROM Nflplayergame n WHERE n.specialTeamsTouchdowns = :specialTeamsTouchdowns"),
    @NamedQuery(name = "Nflplayergame.findByTouchdowns", query = "SELECT n FROM Nflplayergame n WHERE n.touchdowns = :touchdowns"),
    @NamedQuery(name = "Nflplayergame.findByFantasyPosition", query = "SELECT n FROM Nflplayergame n WHERE n.fantasyPosition = :fantasyPosition"),
    @NamedQuery(name = "Nflplayergame.findByFieldGoalPercentage", query = "SELECT n FROM Nflplayergame n WHERE n.fieldGoalPercentage = :fieldGoalPercentage"),
    @NamedQuery(name = "Nflplayergame.findByFumblesOwnRecoveries", query = "SELECT n FROM Nflplayergame n WHERE n.fumblesOwnRecoveries = :fumblesOwnRecoveries"),
    @NamedQuery(name = "Nflplayergame.findByFumblesOutOfBounds", query = "SELECT n FROM Nflplayergame n WHERE n.fumblesOutOfBounds = :fumblesOutOfBounds"),
    @NamedQuery(name = "Nflplayergame.findByKickReturnFairCatches", query = "SELECT n FROM Nflplayergame n WHERE n.kickReturnFairCatches = :kickReturnFairCatches"),
    @NamedQuery(name = "Nflplayergame.findByPuntReturnFairCatches", query = "SELECT n FROM Nflplayergame n WHERE n.puntReturnFairCatches = :puntReturnFairCatches"),
    @NamedQuery(name = "Nflplayergame.findByPuntTouchbacks", query = "SELECT n FROM Nflplayergame n WHERE n.puntTouchbacks = :puntTouchbacks"),
    @NamedQuery(name = "Nflplayergame.findByPuntInside20", query = "SELECT n FROM Nflplayergame n WHERE n.puntInside20 = :puntInside20"),
    @NamedQuery(name = "Nflplayergame.findByPuntNetAverage", query = "SELECT n FROM Nflplayergame n WHERE n.puntNetAverage = :puntNetAverage"),
    @NamedQuery(name = "Nflplayergame.findByExtraPointsAttempted", query = "SELECT n FROM Nflplayergame n WHERE n.extraPointsAttempted = :extraPointsAttempted"),
    @NamedQuery(name = "Nflplayergame.findByBlockedKickReturnTouchdowns", query = "SELECT n FROM Nflplayergame n WHERE n.blockedKickReturnTouchdowns = :blockedKickReturnTouchdowns"),
    @NamedQuery(name = "Nflplayergame.findByFieldGoalReturnTouchdowns", query = "SELECT n FROM Nflplayergame n WHERE n.fieldGoalReturnTouchdowns = :fieldGoalReturnTouchdowns")})
public class Nflplayergame implements Serializable {

    private static final long serialVersionUID = 1L;
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Basic(optional = false)
    @Column(name = "id")
    private Integer id;
    @Size(max = 45)
    @Column(name = "opponent")
    private String opponent;
    @Size(max = 45)
    @Column(name = "homeOrAway")
    private String homeOrAway;
    @Column(name = "activated")
    private Integer activated;
    @Column(name = "played")
    private Integer played;
    @Column(name = "started")
    private Integer started;
    @Column(name = "passingAttempts")
    private Integer passingAttempts;
    @Column(name = "passingCompletions")
    private Integer passingCompletions;
    // @Max(value=?)  @Min(value=?)//if you know range of your decimal fields consider using these annotations to enforce field validation
    @Column(name = "passingYards")
    private Float passingYards;
    @Column(name = "passingCompletionPercentage")
    private Float passingCompletionPercentage;
    @Column(name = "passingYardsPerAttempt")
    private Float passingYardsPerAttempt;
    @Column(name = "passingYardsPerCompletion")
    private Float passingYardsPerCompletion;
    @Column(name = "passingTouchdowns")
    private Integer passingTouchdowns;
    @Column(name = "passingInterceptions")
    private Integer passingInterceptions;
    @Column(name = "passingRating")
    private Float passingRating;
    @Column(name = "passingLong")
    private Float passingLong;
    @Column(name = "passingSacks")
    private Float passingSacks;
    @Column(name = "passingSackYards")
    private Float passingSackYards;
    @Column(name = "rushingAttempts")
    private Integer rushingAttempts;
    @Column(name = "rushingYards")
    private Float rushingYards;
    @Column(name = "rushingYardsPerAttempt")
    private Float rushingYardsPerAttempt;
    @Column(name = "rushingTouchdowns")
    private Integer rushingTouchdowns;
    @Column(name = "rushingLong")
    private Float rushingLong;
    @Column(name = "receivingTargets")
    private Integer receivingTargets;
    @Column(name = "receptions")
    private Integer receptions;
    @Column(name = "receivingYards")
    private Float receivingYards;
    @Column(name = "receivingYardsPerReception")
    private Float receivingYardsPerReception;
    @Column(name = "receivingTouchdowns")
    private Integer receivingTouchdowns;
    @Column(name = "receivingLong")
    private Float receivingLong;
    @Column(name = "fumbles")
    private Integer fumbles;
    @Column(name = "fumblesLost")
    private Integer fumblesLost;
    @Column(name = "PuntReturns")
    private Integer puntReturns;
    @Column(name = "PuntReturnYards")
    private Float puntReturnYards;
    @Column(name = "PuntReturnYardsPerAttempt")
    private Float puntReturnYardsPerAttempt;
    @Column(name = "PuntReturnTouchdowns")
    private Integer puntReturnTouchdowns;
    @Column(name = "PuntReturnLong")
    private Float puntReturnLong;
    @Column(name = "KickReturns")
    private Integer kickReturns;
    @Column(name = "KickReturnYards")
    private Float kickReturnYards;
    @Column(name = "KickReturnYardsPerAttempt")
    private Float kickReturnYardsPerAttempt;
    @Column(name = "KickReturnTouchdowns")
    private Integer kickReturnTouchdowns;
    @Column(name = "KickReturnLong")
    private Integer kickReturnLong;
    @Column(name = "SoloTackles")
    private Integer soloTackles;
    @Column(name = "AssistedTackles")
    private Integer assistedTackles;
    @Column(name = "TacklesForLoss")
    private Float tacklesForLoss;
    @Column(name = "Sacks")
    private Integer sacks;
    @Column(name = "SackYards")
    private Float sackYards;
    @Column(name = "quaterbackHits")
    private Integer quaterbackHits;
    @Column(name = "passesDefended")
    private Integer passesDefended;
    @Column(name = "fumblesForced")
    private Integer fumblesForced;
    @Column(name = "fumblesRecovered")
    private Integer fumblesRecovered;
    @Column(name = "fumbleReturnYards")
    private Float fumbleReturnYards;
    @Column(name = "fumbleReturnTouchdowns")
    private Integer fumbleReturnTouchdowns;
    @Column(name = "interceptions")
    private Integer interceptions;
    @Column(name = "interceptionReturnYards")
    private Float interceptionReturnYards;
    @Column(name = "interceptionReturnTouchdowns")
    private Integer interceptionReturnTouchdowns;
    @Column(name = "blockedKicks")
    private Integer blockedKicks;
    @Column(name = "specialTeamSoloTackles")
    private Integer specialTeamSoloTackles;
    @Column(name = "specialTeamsAssistedTackles")
    private Integer specialTeamsAssistedTackles;
    @Column(name = "miscSoloTackles")
    private Integer miscSoloTackles;
    @Column(name = "miscAssistedTackles")
    private Integer miscAssistedTackles;
    @Column(name = "punts")
    private Integer punts;
    @Column(name = "puntYards")
    private Float puntYards;
    @Column(name = "puntAverage")
    private Float puntAverage;
    @Column(name = "fieldGoalsAttempted")
    private Integer fieldGoalsAttempted;
    @Column(name = "fieldGoalsMade")
    private Integer fieldGoalsMade;
    @Column(name = "fieldGoalsLongestMade")
    private Float fieldGoalsLongestMade;
    @Column(name = "extraPointsMade")
    private Integer extraPointsMade;
    @Column(name = "twoPointConversionPasses")
    private Integer twoPointConversionPasses;
    @Column(name = "twoPointConversionRuns")
    private Integer twoPointConversionRuns;
    @Column(name = "twoPointConversionReceptions")
    private Integer twoPointConversionReceptions;
    @Column(name = "fantasyPoints")
    private Float fantasyPoints;
    @Column(name = "receptionPercentage")
    private Float receptionPercentage;
    @Column(name = "receivingYardsPerTarget")
    private Float receivingYardsPerTarget;
    @Column(name = "tackles")
    private Integer tackles;
    @Column(name = "offensiveTouchdowns")
    private Integer offensiveTouchdowns;
    @Column(name = "defensiveTouchdowns")
    private Integer defensiveTouchdowns;
    @Column(name = "specialTeamsTouchdowns")
    private Integer specialTeamsTouchdowns;
    @Column(name = "touchdowns")
    private Integer touchdowns;
    @Size(max = 45)
    @Column(name = "fantasyPosition")
    private String fantasyPosition;
    @Column(name = "fieldGoalPercentage")
    private Float fieldGoalPercentage;
    @Column(name = "fumblesOwnRecoveries")
    private Integer fumblesOwnRecoveries;
    @Column(name = "fumblesOutOfBounds")
    private Integer fumblesOutOfBounds;
    @Column(name = "kickReturnFairCatches")
    private Integer kickReturnFairCatches;
    @Column(name = "puntReturnFairCatches")
    private Integer puntReturnFairCatches;
    @Column(name = "puntTouchbacks")
    private Integer puntTouchbacks;
    @Column(name = "puntInside20")
    private Integer puntInside20;
    @Column(name = "puntNetAverage")
    private Float puntNetAverage;
    @Column(name = "extraPointsAttempted")
    private Float extraPointsAttempted;
    @Column(name = "blockedKickReturnTouchdowns")
    private Integer blockedKickReturnTouchdowns;
    @Column(name = "fieldGoalReturnTouchdowns")
    private Integer fieldGoalReturnTouchdowns;
    @JoinColumn(name = "weekId", referencedColumnName = "id")
    @ManyToOne
    private Week weekId;
    @JoinColumn(name = "teamId", referencedColumnName = "id")
    @ManyToOne
    private Nflteam teamId;
    @JoinColumn(name = "playerId", referencedColumnName = "id")
    @ManyToOne(optional = false)
    private Nflplayer playerId;
    @JoinColumn(name = "gameId", referencedColumnName = "id")
    @ManyToOne
    private Nflgame gameId;

    public Nflplayergame() {
    }

    public Nflplayergame(Integer id) {
        this.id = id;
    }

    @XmlElement(name = "PlayerGameID")
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    @XmlElement(name = "Opponent")
    public String getOpponent() {
        return opponent;
    }

    public void setOpponent(String opponent) {
        this.opponent = opponent;
    }

    @XmlElement(name = "HomeOrAway")
    public String getHomeOrAway() {
        return homeOrAway;
    }

    public void setHomeOrAway(String homeOrAway) {
        this.homeOrAway = homeOrAway;
    }

    @XmlElement(name = "Activated")
    public Integer getActivated() {
        return activated;
    }

    public void setActivated(Integer activated) {
        this.activated = activated;
    }

    @XmlElement(name = "Played")
    public Integer getPlayed() {
        return played;
    }

    public void setPlayed(Integer played) {
        this.played = played;
    }

    @XmlElement(name = "Started")
    public Integer getStarted() {
        return started;
    }

    public void setStarted(Integer started) {
        this.started = started;
    }

    @XmlElement(name = "PassingAttempts")
    public Integer getPassingAttempts() {
        return passingAttempts;
    }

    public void setPassingAttempts(Integer passingAttempts) {
        this.passingAttempts = passingAttempts;
    }

    @XmlElement(name = "PassingCompletions")
    public Integer getPassingCompletions() {
        return passingCompletions;
    }

    public void setPassingCompletions(Integer passingCompletions) {
        this.passingCompletions = passingCompletions;
    }

    @XmlElement(name = "PassingYards")
    public Float getPassingYards() {
        return passingYards;
    }

    public void setPassingYards(Float passingYards) {
        this.passingYards = passingYards;
    }

    @XmlElement(name = "PassingCompletionPercentage")
    public Float getPassingCompletionPercentage() {
        return passingCompletionPercentage;
    }

    public void setPassingCompletionPercentage(Float passingCompletionPercentage) {
        this.passingCompletionPercentage = passingCompletionPercentage;
    }

    @XmlElement(name = "PassingYardsPerAttempt")
    public Float getPassingYardsPerAttempt() {
        return passingYardsPerAttempt;
    }

    public void setPassingYardsPerAttempt(Float passingYardsPerAttempt) {
        this.passingYardsPerAttempt = passingYardsPerAttempt;
    }

    @XmlElement(name = "PassingYardsPerCompletion")
    public Float getPassingYardsPerCompletion() {
        return passingYardsPerCompletion;
    }

    public void setPassingYardsPerCompletion(Float passingYardsPerCompletion) {
        this.passingYardsPerCompletion = passingYardsPerCompletion;
    }

    @XmlElement(name = "PassingTouchdowns")
    public Integer getPassingTouchdowns() {
        return passingTouchdowns;
    }

    public void setPassingTouchdowns(Integer passingTouchdowns) {
        this.passingTouchdowns = passingTouchdowns;
    }

    @XmlElement(name = "PassingInterceptions")
    public Integer getPassingInterceptions() {
        return passingInterceptions;
    }

    public void setPassingInterceptions(Integer passingInterceptions) {
        this.passingInterceptions = passingInterceptions;
    }

    @XmlElement(name = "PassingRating")
    public Float getPassingRating() {
        return passingRating;
    }

    public void setPassingRating(Float passingRating) {
        this.passingRating = passingRating;
    }

    @XmlElement(name = "PassingLong")
    public Float getPassingLong() {
        return passingLong;
    }

    public void setPassingLong(Float passingLong) {
        this.passingLong = passingLong;
    }

    @XmlElement(name = "PassingSacks")
    public Float getPassingSacks() {
        return passingSacks;
    }

    public void setPassingSacks(Float passingSacks) {
        this.passingSacks = passingSacks;
    }

    @XmlElement(name = "PassingSackYards")
    public Float getPassingSackYards() {
        return passingSackYards;
    }

    public void setPassingSackYards(Float passingSackYards) {
        this.passingSackYards = passingSackYards;
    }

    @XmlElement(name = "RushingAttempts")
    public Integer getRushingAttempts() {
        return rushingAttempts;
    }

    public void setRushingAttempts(Integer rushingAttempts) {
        this.rushingAttempts = rushingAttempts;
    }

    @XmlElement(name = "RushingYards")
    public Float getRushingYards() {
        return rushingYards;
    }

    public void setRushingYards(Float rushingYards) {
        this.rushingYards = rushingYards;
    }

    @XmlElement(name = "RushingYardsPerAttempt")
    public Float getRushingYardsPerAttempt() {
        return rushingYardsPerAttempt;
    }

    public void setRushingYardsPerAttempt(Float rushingYardsPerAttempt) {
        this.rushingYardsPerAttempt = rushingYardsPerAttempt;
    }

    @XmlElement(name = "RushingTouchdowns")
    public Integer getRushingTouchdowns() {
        return rushingTouchdowns;
    }

    public void setRushingTouchdowns(Integer rushingTouchdowns) {
        this.rushingTouchdowns = rushingTouchdowns;
    }

    @XmlElement(name = "RushingLong")
    public Float getRushingLong() {
        return rushingLong;
    }

    public void setRushingLong(Float rushingLong) {
        this.rushingLong = rushingLong;
    }

    @XmlElement(name = "ReceivingTargets")
    public Integer getReceivingTargets() {
        return receivingTargets;
    }

    public void setReceivingTargets(Integer receivingTargets) {
        this.receivingTargets = receivingTargets;
    }

    @XmlElement(name = "Receptions")
    public Integer getReceptions() {
        return receptions;
    }

    public void setReceptions(Integer receptions) {
        this.receptions = receptions;
    }

    @XmlElement(name = "ReceivingYards")
    public Float getReceivingYards() {
        return receivingYards;
    }

    public void setReceivingYards(Float receivingYards) {
        this.receivingYards = receivingYards;
    }

    @XmlElement(name = "ReceivingYardsPerReception")
    public Float getReceivingYardsPerReception() {
        return receivingYardsPerReception;
    }

    public void setReceivingYardsPerReception(Float receivingYardsPerReception) {
        this.receivingYardsPerReception = receivingYardsPerReception;
    }

    @XmlElement(name = "ReceivingTouchdowns")
    public Integer getReceivingTouchdowns() {
        return receivingTouchdowns;
    }

    public void setReceivingTouchdowns(Integer receivingTouchdowns) {
        this.receivingTouchdowns = receivingTouchdowns;
    }

    @XmlElement(name = "ReceivingLong")
    public Float getReceivingLong() {
        return receivingLong;
    }

    public void setReceivingLong(Float receivingLong) {
        this.receivingLong = receivingLong;
    }

    @XmlElement(name = "Fumbles")
    public Integer getFumbles() {
        return fumbles;
    }

    public void setFumbles(Integer fumbles) {
        this.fumbles = fumbles;
    }

    @XmlElement(name = "FumblesLost")
    public Integer getFumblesLost() {
        return fumblesLost;
    }

    public void setFumblesLost(Integer fumblesLost) {
        this.fumblesLost = fumblesLost;
    }

    @XmlElement(name = "PuntReturns")
    public Integer getPuntReturns() {
        return puntReturns;
    }

    public void setPuntReturns(Integer puntReturns) {
        this.puntReturns = puntReturns;
    }

    @XmlElement(name = "PuntReturnYards")
    public Float getPuntReturnYards() {
        return puntReturnYards;
    }

    public void setPuntReturnYards(Float puntReturnYards) {
        this.puntReturnYards = puntReturnYards;
    }

    @XmlElement(name = "PuntReturnYardsPerAttempt")
    public Float getPuntReturnYardsPerAttempt() {
        return puntReturnYardsPerAttempt;
    }

    public void setPuntReturnYardsPerAttempt(Float puntReturnYardsPerAttempt) {
        this.puntReturnYardsPerAttempt = puntReturnYardsPerAttempt;
    }

    @XmlElement(name = "PuntReturnTouchdowns")
    public Integer getPuntReturnTouchdowns() {
        return puntReturnTouchdowns;
    }

    public void setPuntReturnTouchdowns(Integer puntReturnTouchdowns) {
        this.puntReturnTouchdowns = puntReturnTouchdowns;
    }

    @XmlElement(name = "PuntReturnLong")
    public Float getPuntReturnLong() {
        return puntReturnLong;
    }

    public void setPuntReturnLong(Float puntReturnLong) {
        this.puntReturnLong = puntReturnLong;
    }

    @XmlElement(name = "KickReturns")
    public Integer getKickReturns() {
        return kickReturns;
    }

    public void setKickReturns(Integer kickReturns) {
        this.kickReturns = kickReturns;
    }

    @XmlElement(name = "KickReturnYards")
    public Float getKickReturnYards() {
        return kickReturnYards;
    }

    public void setKickReturnYards(Float kickReturnYards) {
        this.kickReturnYards = kickReturnYards;
    }

    @XmlElement(name = "KickReturnYardsPerAttempt")
    public Float getKickReturnYardsPerAttempt() {
        return kickReturnYardsPerAttempt;
    }

    public void setKickReturnYardsPerAttempt(Float kickReturnYardsPerAttempt) {
        this.kickReturnYardsPerAttempt = kickReturnYardsPerAttempt;
    }

    @XmlElement(name = "KickReturnTouchdowns")
    public Integer getKickReturnTouchdowns() {
        return kickReturnTouchdowns;
    }

    public void setKickReturnTouchdowns(Integer kickReturnTouchdowns) {
        this.kickReturnTouchdowns = kickReturnTouchdowns;
    }

    @XmlElement(name = "KickReturnLong")
    public Integer getKickReturnLong() {
        return kickReturnLong;
    }

    public void setKickReturnLong(Integer kickReturnLong) {
        this.kickReturnLong = kickReturnLong;
    }

    @XmlElement(name = "SoloTackles")
    public Integer getSoloTackles() {
        return soloTackles;
    }

    public void setSoloTackles(Integer soloTackles) {
        this.soloTackles = soloTackles;
    }

    @XmlElement(name = "AssistedTackles")
    public Integer getAssistedTackles() {
        return assistedTackles;
    }

    public void setAssistedTackles(Integer assistedTackles) {
        this.assistedTackles = assistedTackles;
    }

    @XmlElement(name = "TacklesForLoss")
    public Float getTacklesForLoss() {
        return tacklesForLoss;
    }

    public void setTacklesForLoss(Float tacklesForLoss) {
        this.tacklesForLoss = tacklesForLoss;
    }

    @XmlElement(name = "Sacks")
    public Integer getSacks() {
        return sacks;
    }

    public void setSacks(Integer sacks) {
        this.sacks = sacks;
    }

    @XmlElement(name = "SackYards")
    public Float getSackYards() {
        return sackYards;
    }

    public void setSackYards(Float sackYards) {
        this.sackYards = sackYards;
    }

    @XmlElement(name = "QuaterbackHits")
    public Integer getQuaterbackHits() {
        return quaterbackHits;
    }

    public void setQuaterbackHits(Integer quaterbackHits) {
        this.quaterbackHits = quaterbackHits;
    }

    @XmlElement(name = "PassesDefended")
    public Integer getPassesDefended() {
        return passesDefended;
    }

    public void setPassesDefended(Integer passesDefended) {
        this.passesDefended = passesDefended;
    }

    @XmlElement(name = "FumblesForced")
    public Integer getFumblesForced() {
        return fumblesForced;
    }

    public void setFumblesForced(Integer fumblesForced) {
        this.fumblesForced = fumblesForced;
    }

    @XmlElement(name = "FumblesRecovered")
    public Integer getFumblesRecovered() {
        return fumblesRecovered;
    }

    public void setFumblesRecovered(Integer fumblesRecovered) {
        this.fumblesRecovered = fumblesRecovered;
    }

    @XmlElement(name = "FumbleReturnYards")
    public Float getFumbleReturnYards() {
        return fumbleReturnYards;
    }

    public void setFumbleReturnYards(Float fumbleReturnYards) {
        this.fumbleReturnYards = fumbleReturnYards;
    }

    @XmlElement(name = "FumbleReturnTouchdowns")
    public Integer getFumbleReturnTouchdowns() {
        return fumbleReturnTouchdowns;
    }

    public void setFumbleReturnTouchdowns(Integer fumbleReturnTouchdowns) {
        this.fumbleReturnTouchdowns = fumbleReturnTouchdowns;
    }

    @XmlElement(name = "Interceptions")
    public Integer getInterceptions() {
        return interceptions;
    }

    public void setInterceptions(Integer interceptions) {
        this.interceptions = interceptions;
    }

    @XmlElement(name = "InterceptionReturnYards")
    public Float getInterceptionReturnYards() {
        return interceptionReturnYards;
    }

    public void setInterceptionReturnYards(Float interceptionReturnYards) {
        this.interceptionReturnYards = interceptionReturnYards;
    }

    @XmlElement(name = "InterceptionReturnTouchdowns")
    public Integer getInterceptionReturnTouchdowns() {
        return interceptionReturnTouchdowns;
    }

    public void setInterceptionReturnTouchdowns(Integer interceptionReturnTouchdowns) {
        this.interceptionReturnTouchdowns = interceptionReturnTouchdowns;
    }

    @XmlElement(name = "BlockedKicks")
    public Integer getBlockedKicks() {
        return blockedKicks;
    }

    public void setBlockedKicks(Integer blockedKicks) {
        this.blockedKicks = blockedKicks;
    }

    @XmlElement(name = "SpecialTeamSoloTackles")
    public Integer getSpecialTeamSoloTackles() {
        return specialTeamSoloTackles;
    }

    public void setSpecialTeamSoloTackles(Integer specialTeamSoloTackles) {
        this.specialTeamSoloTackles = specialTeamSoloTackles;
    }

    @XmlElement(name = "SpecialTeamsAssistedTackles")
    public Integer getSpecialTeamsAssistedTackles() {
        return specialTeamsAssistedTackles;
    }

    public void setSpecialTeamsAssistedTackles(Integer specialTeamsAssistedTackles) {
        this.specialTeamsAssistedTackles = specialTeamsAssistedTackles;
    }

    @XmlElement(name = "MiscSoloTackles")
    public Integer getMiscSoloTackles() {
        return miscSoloTackles;
    }

    public void setMiscSoloTackles(Integer miscSoloTackles) {
        this.miscSoloTackles = miscSoloTackles;
    }

    @XmlElement(name = "MiscAssistedTackles")
    public Integer getMiscAssistedTackles() {
        return miscAssistedTackles;
    }

    public void setMiscAssistedTackles(Integer miscAssistedTackles) {
        this.miscAssistedTackles = miscAssistedTackles;
    }

    @XmlElement(name = "Punts")
    public Integer getPunts() {
        return punts;
    }

    public void setPunts(Integer punts) {
        this.punts = punts;
    }

    @XmlElement(name = "PuntYards")
    public Float getPuntYards() {
        return puntYards;
    }

    public void setPuntYards(Float puntYards) {
        this.puntYards = puntYards;
    }

    @XmlElement(name = "PuntAverage")
    public Float getPuntAverage() {
        return puntAverage;
    }

    public void setPuntAverage(Float puntAverage) {
        this.puntAverage = puntAverage;
    }

    @XmlElement(name = "FieldGoalsAttempted")
    public Integer getFieldGoalsAttempted() {
        return fieldGoalsAttempted;
    }

    public void setFieldGoalsAttempted(Integer fieldGoalsAttempted) {
        this.fieldGoalsAttempted = fieldGoalsAttempted;
    }

    @XmlElement(name = "FieldGoalsMade")
    public Integer getFieldGoalsMade() {
        return fieldGoalsMade;
    }

    public void setFieldGoalsMade(Integer fieldGoalsMade) {
        this.fieldGoalsMade = fieldGoalsMade;
    }

    @XmlElement(name = "FieldGoalsLongestMade")
    public Float getFieldGoalsLongestMade() {
        return fieldGoalsLongestMade;
    }

    public void setFieldGoalsLongestMade(Float fieldGoalsLongestMade) {
        this.fieldGoalsLongestMade = fieldGoalsLongestMade;
    }

    @XmlElement(name = "ExtraPointsMade")
    public Integer getExtraPointsMade() {
        return extraPointsMade;
    }

    public void setExtraPointsMade(Integer extraPointsMade) {
        this.extraPointsMade = extraPointsMade;
    }

    @XmlElement(name = "TwoPointConversionPasses")
    public Integer getTwoPointConversionPasses() {
        return twoPointConversionPasses;
    }

    public void setTwoPointConversionPasses(Integer twoPointConversionPasses) {
        this.twoPointConversionPasses = twoPointConversionPasses;
    }

    @XmlElement(name = "TwoPointConversionRuns")
    public Integer getTwoPointConversionRuns() {
        return twoPointConversionRuns;
    }

    public void setTwoPointConversionRuns(Integer twoPointConversionRuns) {
        this.twoPointConversionRuns = twoPointConversionRuns;
    }

    @XmlElement(name = "TwoPointConversionReceptions")
    public Integer getTwoPointConversionReceptions() {
        return twoPointConversionReceptions;
    }

    public void setTwoPointConversionReceptions(Integer twoPointConversionReceptions) {
        this.twoPointConversionReceptions = twoPointConversionReceptions;
    }

    @XmlElement(name = "FantasyPoints")
    public Float getFantasyPoints() {
        return fantasyPoints;
    }

    public void setFantasyPoints(Float fantasyPoints) {
        this.fantasyPoints = fantasyPoints;
    }

    @XmlElement(name = "ReceptionPercentage")
    public Float getReceptionPercentage() {
        return receptionPercentage;
    }

    public void setReceptionPercentage(Float receptionPercentage) {
        this.receptionPercentage = receptionPercentage;
    }

    @XmlElement(name = "ReceivingYardsPerTarget")
    public Float getReceivingYardsPerTarget() {
        return receivingYardsPerTarget;
    }

    public void setReceivingYardsPerTarget(Float receivingYardsPerTarget) {
        this.receivingYardsPerTarget = receivingYardsPerTarget;
    }

    @XmlElement(name = "Tackles")
    public Integer getTackles() {
        return tackles;
    }

    public void setTackles(Integer tackles) {
        this.tackles = tackles;
    }

    @XmlElement(name = "OffensiveTouchdowns")
    public Integer getOffensiveTouchdowns() {
        return offensiveTouchdowns;
    }

    public void setOffensiveTouchdowns(Integer offensiveTouchdowns) {
        this.offensiveTouchdowns = offensiveTouchdowns;
    }

    @XmlElement(name = "DefensiveTouchdowns")
    public Integer getDefensiveTouchdowns() {
        return defensiveTouchdowns;
    }

    public void setDefensiveTouchdowns(Integer defensiveTouchdowns) {
        this.defensiveTouchdowns = defensiveTouchdowns;
    }

    @XmlElement(name = "SpecialTeamsTouchdowns")
    public Integer getSpecialTeamsTouchdowns() {
        return specialTeamsTouchdowns;
    }

    public void setSpecialTeamsTouchdowns(Integer specialTeamsTouchdowns) {
        this.specialTeamsTouchdowns = specialTeamsTouchdowns;
    }

    @XmlElement(name = "Touchdowns")
    public Integer getTouchdowns() {
        return touchdowns;
    }

    public void setTouchdowns(Integer touchdowns) {
        this.touchdowns = touchdowns;
    }

    @XmlElement(name = "FantasyPosition")
    public String getFantasyPosition() {
        return fantasyPosition;
    }

    public void setFantasyPosition(String fantasyPosition) {
        this.fantasyPosition = fantasyPosition;
    }

    @XmlElement(name = "FieldGoalPercentage")
    public Float getFieldGoalPercentage() {
        return fieldGoalPercentage;
    }

    public void setFieldGoalPercentage(Float fieldGoalPercentage) {
        this.fieldGoalPercentage = fieldGoalPercentage;
    }

    @XmlElement(name = "FumblesOwnRecoveries")
    public Integer getFumblesOwnRecoveries() {
        return fumblesOwnRecoveries;
    }

    public void setFumblesOwnRecoveries(Integer fumblesOwnRecoveries) {
        this.fumblesOwnRecoveries = fumblesOwnRecoveries;
    }

    @XmlElement(name = "FumblesOutOfBounds")
    public Integer getFumblesOutOfBounds() {
        return fumblesOutOfBounds;
    }

    public void setFumblesOutOfBounds(Integer fumblesOutOfBounds) {
        this.fumblesOutOfBounds = fumblesOutOfBounds;
    }

    @XmlElement(name = "KickReturnFairCatches")
    public Integer getKickReturnFairCatches() {
        return kickReturnFairCatches;
    }

    public void setKickReturnFairCatches(Integer kickReturnFairCatches) {
        this.kickReturnFairCatches = kickReturnFairCatches;
    }

    @XmlElement(name = "PuntReturnFairCatches")
    public Integer getPuntReturnFairCatches() {
        return puntReturnFairCatches;
    }

    public void setPuntReturnFairCatches(Integer puntReturnFairCatches) {
        this.puntReturnFairCatches = puntReturnFairCatches;
    }

    @XmlElement(name = "PuntTouchbacks")
    public Integer getPuntTouchbacks() {
        return puntTouchbacks;
    }

    public void setPuntTouchbacks(Integer puntTouchbacks) {
        this.puntTouchbacks = puntTouchbacks;
    }

    @XmlElement(name = "PuntInside20")
    public Integer getPuntInside20() {
        return puntInside20;
    }

    public void setPuntInside20(Integer puntInside20) {
        this.puntInside20 = puntInside20;
    }

    @XmlElement(name = "PuntNetAverage")
    public Float getPuntNetAverage() {
        return puntNetAverage;
    }

    public void setPuntNetAverage(Float puntNetAverage) {
        this.puntNetAverage = puntNetAverage;
    }

    @XmlElement(name = "ExtraPointsAttempted")
    public Float getExtraPointsAttempted() {
        return extraPointsAttempted;
    }

    public void setExtraPointsAttempted(Float extraPointsAttempted) {
        this.extraPointsAttempted = extraPointsAttempted;
    }

    @XmlElement(name = "BlockedKickReturnTouchdowns")
    public Integer getBlockedKickReturnTouchdowns() {
        return blockedKickReturnTouchdowns;
    }

    public void setBlockedKickReturnTouchdowns(Integer blockedKickReturnTouchdowns) {
        this.blockedKickReturnTouchdowns = blockedKickReturnTouchdowns;
    }

    @XmlElement(name = "FieldGoalReturnTouchdowns")
    public Integer getFieldGoalReturnTouchdowns() {
        return fieldGoalReturnTouchdowns;
    }

    public void setFieldGoalReturnTouchdowns(Integer fieldGoalReturnTouchdowns) {
        this.fieldGoalReturnTouchdowns = fieldGoalReturnTouchdowns;
    }

//    @XmlElement(name = "WeekId")
    public Week getWeekId() {
        return weekId;
    }

    public void setWeekId(Week weekId) {
        this.weekId = weekId;
    }

//    @XmlElement(name = "TeamId")
    public Nflteam getTeamId() {
        return teamId;
    }

    public void setTeamId(Nflteam teamId) {
        this.teamId = teamId;
    }

//    @XmlElement(name = "PlayerID")
    public Nflplayer getPlayerId() {
        return playerId;
    }

    public void setPlayerId(Nflplayer playerId) {
        this.playerId = playerId;
    }

    public Nflgame getGameId() {
        return gameId;
    }

    public void setGameId(Nflgame gameId) {
        this.gameId = gameId;
    }

    @Override
    public int hashCode() {
        int hash = 0;
        hash += (id != null ? id.hashCode() : 0);
        return hash;
    }

    @Override
    public boolean equals(Object object) {
        // TODO: Warning - this method won't work in the case the id fields are not set
        if (!(object instanceof Nflplayergame)) {
            return false;
        }
        Nflplayergame other = (Nflplayergame) object;
        if ((this.id == null && other.id != null) || (this.id != null && !this.id.equals(other.id))) {
            return false;
        }
        return true;
    }

    @Override
    public String toString() {
        return "entities.Nflplayergame[ id=" + id + " ]";
    }
}
